<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Admin-Import.aspx.cs" Inherits="People_Import"  %>

<asp:Content ID="Content1" ContentPlaceHolderID="header" Runat="Server">
  Import people
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="main" Runat="Server">

  <h2>Universal data format</h2>
  <p>Step 1 - Download the following TSV template:</p>
  <p><asp:Button ID="bnUniversalTemplate" runat="server" Text="Universal template" 
      onclick="bnUniversalTemplate_Click" /></p>
  <p>Step 2 - Insert your rows into the template.</p>
  <p>Step 3 - Save the template as a TSV file.</p>
  <p>Step 4 - Import it here:</p>
  <p>
    <strong>Input file:</strong><br />
    <asp:FileUpload ID="filUniversalImport" runat="server" /><br />
    <asp:Button ID="bnImportUniversal" runat="server" Text="Import" 
      onclick="bnImportUniversal_Click" />
  </p>

  <!--
  <br />

  <h2>First data format</h2>
  <p>To import people, they must be in a TSV file in the following format:</p>
  <p><pre>Serial,SID,Time,IP Address,UID,Username,First Name,Last Name,Email,
Cell/Mobile,Street,City,State,Postcode,Country,Home Phone,Age,Gender</pre></p>
  <p>
    <strong>Input file:</strong><br />
    <asp:FileUpload ID="filImport" runat="server" /><br />
    <asp:Button ID="bnImport" runat="server" Text="Import" 
      onclick="bnImport_Click" />
  </p>
  

  <br />
  
  <h2>Second data format</h2>
  <p>TSV file in the following format:</p>
  <p><pre>First Name, Last Name, Email, Location, Notes</pre></p>
  <p>
    <strong>Input file:</strong><br />
    <asp:FileUpload ID="filImport2" runat="server" /><br />
    <asp:Button ID="bnImport2" runat="server" Text="Import" 
      onclick="bnImport2_Click" />
  </p>
  -->
  
</asp:Content>

